export const install = ({ router }) => {
    router.isReady()
        .then(async () => {
            const { registerSW } = await import('virtual:pwa-register')
            registerSW({ immediate: true })
        })
        .catch(() => { })
}
